import { AsyncStorage } from 'react-native'
import Storage from 'react-native-storage'
let storage = new Storage({
  size: 1000,
  storageBackend: AsyncStorage,
  defaultExpires: null,
  enableCache: true
})
// 全局变量
global.storage = storage
